package com.ruoyi.system.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.NewBasicEntity;
import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.system.domain.db.basic.BasicVehicles;
import com.ruoyi.system.domain.db.basic.BasicWarehouses;
import lombok.Data;

import java.util.Date;

@Data
public class TransportTaskDto  {

    private Long taskId;

    /** 经理 */
    @Excel(name = "经理")
    private SysUser manager;

    /** 起始地 */
    @Excel(name = "起始地")
    private BasicWarehouses departure;

    /** 目的地 */
    @Excel(name = "目的地")
    private BasicWarehouses destination;

    /** 运输类型 */
    @Excel(name = "运输类型")
    private Integer type;

    /** 总重量 */
    @Excel(name = "总重量")
    private Integer weight;

    /** 运输状态 */
    @Excel(name = "运输状态")
    private Integer state;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
